Priority Queue (Binary Tree)
extracted nodes
29
22
18
16
15
7
17
3
8
21
20
19
9
10
4
1
28
26
24
23
11
25
5
12
27
13
2
0
14
6
insert
25
extractMax
buildHeap
restart